body {
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-size: 14px;
    font-family: -apple-system, Helvetica, sans-serif;
    background-color: #666;
    line-height: 1.5;
    // background-color: #ccc;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
ul,li{
    list-style: none;
    margin: 0;
    padding: 0;
}
div{
    box-sizing: border-box;
}
a{
    list-style: none;
    color: #333;
    text-decoration: none;
}
.search-index{
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    height: 44px;
    border-bottom: 1px solid #ccc;

        background-color: pink;
    .search{
        position: relative;
        flex: 1;
        height: 26px;
        line-height: 26px;
        border: 1px solid #ccc;
        margin: 7px 10px;
        border-radius: 10px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
       
        
        i{
            position: absolute;
            font-size: 14px;
            padding-left: 10px;
        }
    }
    .user{
        width: 44px;
        height: 44px;
    }
    .user::before{
        content: "";
        display: block;
        width: 44px;
        height: 44px;
        background: url(../images/tabbar.png) no-repeat -13px -297px;
        background-size: 69px 448px;
        
    }
} 
.focus{
    padding-top: 46px;
    img{
        width: 100%;
        vertical-align: middle;
    }
}
.lacal-nav{
    display:flex;
    height: 64px;
    margin: 3px 4px;
    background-color: #ccc;
    border-radius: 8px;
    li{
        flex: 1;
        a{
            display: flex;
            flex-direction: column;
            align-items: center;
            .local-nav-icon{
                height: 32px;
                width: 32px;
                margin-top: 4px;
                background:url(../images/mainnav.png) no-repeat 0 0;
                background-size: 32px auto;
            }
            .local-nav-icon1{
                height: 32px;
                width: 32px;
                margin-top: 4px;
                background:url(../images/mainnav.png) no-repeat -8px -97px;
                background-size: 32px auto;
            }
            .local-nav-icon2{
                height: 32px;
                width: 32px;
                margin-top: 4px;
                background:url(../images/mainnav.png) no-repeat -8px -178px;
                background-size: 32px auto;
            }
            .local-nav-icon3{
                height: 32px;
                width: 32px;
                margin-top: 4px;
                background:url(../images/mainnav.png) no-repeat -8px -448px;
                background-size: 32px auto;
            }
            .local-nav-icon4{
                height: 32px;
                width: 32px;
                margin-top: 4px;
                background:url(../images/mainnav.png) no-repeat -8px -448px;
                background-size: 32px auto;
            }
        }
    }
}
nav{
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
    .nav-common{
        display: flex;
        height: 88px;
        background-color: pink;
        .nav-items{
            flex:1;
            display: flex;
            flex-direction: column;
            a{
                flex: 1;
                text-align: center;
                line-height: 44px;
                color: #fff;
                font-size: 14px;
                text-shadow: 1px 1px 1px rgba(0,0, 0, 0.8);
            }
            a:first-child{
                border-bottom: 1px solid #fff;
            }
        }
        .nav-items:nth-child(-n+2){
            border-right: 1px solid #fff;
        }
        .nav-items:nth-child(1) a{
            border: 0;
            background: url(../images/超市.jpg) no-repeat bottom center;
        }
    }
    .nav-common:nth-child(2){
        margin: 5px 0;
    }
}
.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#FA5A55,#FA994D); 
}
.nav-common:nth-child(2){
    background: -webkit-linear-gradient(left,#55fa6b,#16dfce); 
}
.nav-common:nth-child(3){
    background: -webkit-linear-gradient(left,#55bdfa,#3a65f5); 
}
.subnav-entry{
    display: flex;
    border-radius: 10px;
    background: #ccc;
    margin: 0 4px;
    flex-wrap: wrap;
    li{
        flex: 20%;
        a{
            display: flex;
            flex-direction: column;
            align-items: center;
            .subnav-entry-icon{
                width: 28px;
                height: 28px;
                background-color: pink;
                margin-top: 4px;
                background: url(../images/mainnav.png) no-repeat 0 0;
                background-size: 28px auto;
            }
            span{

            }
        }
    }
}
.sales-box{
    margin-top: 5px;
    border-top: 1px solid #333;
    background-color: #fff;
    .sales-hd{
        position: relative;
        height: 44px;
        border-bottom: 1px solid #bbb;
        h2{
            position: relative;
            text-indent: -999px;
            overflow: hidden;
        }
        a{
            position: absolute;
            top:0px;
            right: 10px;
            background: -webkit-linear-gradient(left,#299599,#5afa55);
            font-size: 15px;
            color: white;
            border-radius: 8px;
            padding: 3px 20px 3px 10px;
        }
        a::after{
            content: "";
            position: absolute;
            top: 9px;
            right: 1px;
            width: 7px;
            height: 7px;
            border-top: 2px solid #fff;
            border-right: 2px solid #fff;
            transform: rotate(45deg);
        }
        h2::after{
            position: absolute;
            content: "";
            top: 2px;
            left: 10px;
            width: 100px;
            height: 40px;
            background-color: pink;
            background: url(../images/特使会.png) no-repeat;
            background-size: 100px 30px;
        }
    }
    .sales-bd{
        .row{
            display: flex;
            a{
                flex: 1;
                border-bottom: 1px solid #55bdfa;
                img{
                    width: 100%;
                }
            }
        }
    }
}